/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package BookTrading;

import java.io.Serializable;

/**
 *
 * @author Trang
 */
public class BookObject implements Serializable{
    private String name;
    private Integer  price;

    public BookObject(String name, Integer prix) {
        this.name = name;
        this.price = prix;
    }
    
    public BookObject(){
        
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }
    
}
